﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WLYT.Domain.Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("MaterialDetail")]
    public partial class MaterialDetail
    {
           public MaterialDetail(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:内部标签
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string LabelId {get;set;}

           /// <summary>
           /// Desc:物料编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string ItemCode {get;set;}

           /// <summary>
           /// Desc:物料名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string ItemName {get;set;}

           /// <summary>
           /// Desc:原厂QR码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string OriginalQR1 {get;set;}

           /// <summary>
           /// Desc:原厂QR码2
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string OriginalQR2 {get;set;}

           /// <summary>
           /// Desc:原厂一维码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string OriginalBar {get;set;}

           /// <summary>
           /// Desc:旧二维码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string OrigLabelId {get;set;}

           /// <summary>
           /// Desc:机器编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string MachineNo {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string PartNo {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Qty {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string LotNo {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string DateCode {get;set;}

           /// <summary>
           /// Desc:图片存储
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Picture {get;set;}

           /// <summary>
           /// Desc:数据来源
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string DataFrom {get;set;}

           /// <summary>
           /// Desc:仓库编码（设备编码）
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string WareCode {get;set;}

    }
}
